<!DOCTYPE html>
<html>
    <head>
        <title>360湘江世纪城</title>
        <#include "../controls/public_header.ftl">
        <script type="text/javascript">
			var openMenu = "mc-1";
			var selectMenu = "cld0-mc-1";
		</script>
        <script type="text/javascript"> var basePath = "${model._contextPath}"; </script>
        <script type="text/javascript" src="${model._contextPath}/web/resources/js/manage/menu.js"></script>
        <script type="text/javascript" src="${model._contextPath}/web/resources/js/manage/orders.js"></script>
    </head>
    <body>
		<div id="container">
			<#include "../controls/header.ftl">
			<div id="main">
				<div class="Lay_8">
					<div class="bt"><span class="btzi1">我的社区</span>&gt;我的订单</div>
					<div class="nr">
						<!-- 左导航《我的交易》-->
						<#include "../controls/manage_menu.ftl">
						<!-- 我的订单-->
						<div class="wddd">
							<div class="btk1">
								<div class="bt1">&nbsp;&nbsp;我的订单</div>
								<!-- <div class="btnr">便利提醒：<span>待付款（0）&nbsp;&nbsp;待确认收货（0）&nbsp;&nbsp;待自提（0）</span></div>-->
							</div>
							<div class="wdddnr">
								<div class="wdbox">
									<div class="tu"><img src="${model._contextPath}/web/resources/images/xt_14.jpg" border="0"></div>
								    <div class="zi"><img src="${model._contextPath}/web/resources/images/xt_17.jpg" width="48" height="25"></div>
									<div class="zi"><input name="" type="text"></div>
								</div>
								<div class="wdbox1">
									<table width="100%" border="0" cellpadding="0" cellspacing="0">
										<tr>
											<td width="35%" height="31" align="center" valign="middle" background="resources/images/bjt.jpg">宝贝</td>
											<td width="10%" align="center" valign="middle" background="resources/images/bjt.jpg">单价（元）</td>
											<td width="10%" align="center" valign="middle" background="resources/images/bjt.jpg">数量</td>
											<td width="15%" align="center" valign="middle" background="resources/images/bjt.jpg">实付款（元）</td>
											<td width="10%" align="center" valign="middle" background="resources/images/bjt.jpg">交易状态</td>
											<td width="25%" align="center" valign="middle" background="resources/images/bjt.jpg">操作</td>
										</tr>
									</table>
									<table width="100%" border="0" cellpadding="0" cellspacing="0" class="wdbox2">
										<tr>
											<td width="11%" align="left" valign="middle">&nbsp;&nbsp;<input type="checkbox" name="checkbox" value="checkbox">全选</td>
											<td>&nbsp;</td>
										</tr>
									</table>
									<table width="100%" border="0" cellpadding="0" cellspacing="0" class="wdbox3">
										<#assign shop_id="" />
										<#if model.rows?exists && model.rows?has_content && (model.rows?size>0)>
											<#list model.rows as row>
												<#if (row.shop_id == shop_id)>
													<tr code="${row.shop_id}">
														<td height="100" align="center" valign="middle" class="td">
															<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
																<tr>
																	<td width="14%"><img src="${model._contextPath}/web/resources/images/gwc_11.jpg" width="50" height="50"></td>
																	<td width="47%" class="text10">${row.goods_name}</td>
																	<td width="23%" align="center" valign="middle">${row.goods_price}</td>
																	<td width="16%" align="center" valign="middle">${row.num}</td>
																</tr>
															</table>
														</td>
													</tr>
												<#else>
													<#if (shop_id != "")></table></td></tr></#if>
													<#assign shop_id=row.shop_id />
														<tr>
															<td align="left" valign="middle" class="top1">&nbsp;&nbsp;<input type="checkbox" name="checkbox2" value="checkbox">订单编号：${row.orders_id}&nbsp;&nbsp;&nbsp;&nbsp;成交时间：${row.orders_time}&nbsp;&nbsp;&nbsp;&nbsp;<a href="${model._contextPath}/p100009.html?id=${row.shop_id}" target="_blank">${row.shop_name}</a></td>
														</tr>
														<tr>
															<td align="left" valign="middle">
																<table width="100%" border="0" cellpadding="0" cellspacing="0">
																	<tr zcode="${row.shop_id}">
																		<td width="55%" height="100" align="center" valign="middle" class="td">
																			<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
																				<tr>
																					<td width="14%"><img src="${model._contextPath}/web/resources/images/gwc_11.jpg" width="50" height="50"></td>
																					<td width="47%" class="text10">${row.goods_name}</td>
																					<td width="23%" align="center" valign="middle">${row.goods_price}</td>
																					<td width="16%" align="center" valign="middle">${row.num}</td>
																				</tr>
																			</table>
																		</td>
																		<td code="price_${row.shop_id}" width="13%" align="center" valign="middle" class="td wz1">${row.shop_price}</td>
																		<td code="state_${row.shop_id}" width="15%" align="center" valign="middle" class="td">
																			<table width="91%" border="0" align="center" cellpadding="0" cellspacing="0">
																				<tr>
																					<td height="25" align="center" valign="middle" class="wz2">卖家已发货</td>
																				</tr>
																				<tr>
																					<td height="25" align="center" valign="middle" class="text10">订单详情</td>
																				</tr>
																				<tr>
																					<td height="25" align="center" valign="middle" class="text10">查看物流</td>
																				</tr>
																			</table>
																		</td>
																		<td code="opt_${row.shop_id}" width="*" align="center" valign="middle" class="td"><img src="${model._contextPath}/web/resources/images/xt_25.jpg" width="67" height="25"></td>
																	</tr>
												</#if>
											</#list>
											</table></td></tr>
										</#if>
												</table>
												<table width="100%" border="0" cellpadding="0" cellspacing="0" class="wdbox2" style=" margin-bottom:0px">
													<tr>
														<td width="10%" align="left" valign="middle">&nbsp;&nbsp;<input type="checkbox" name="checkbox3" value="checkbox">全选</td>
														<td width="37%" align="left" valign="middle">
															<!--<img src="${model._contextPath}/web/resources/images/bb_06.jpg" width="59" height="20"> <img src="${model._contextPath}/web/resources/images/bb_08.jpg" width="59" height="20"> -->
															<img src="${model._contextPath}/web/resources/images/bb_10.jpg" width="84" height="20">
														</td>
														<td width="45%" align="center" valign="middle"><img src="${model._contextPath}/web/resources/images/bb_03.jpg" width="325" height="25"></td>
														<td width="8%" align="center" valign="middle"><img src="${model._contextPath}/web/resources/images/xt_32.jpg" width="37" height="25"></td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div> 
			<div width="100%" height="127"> 
				<#include "../controls/footer.ftl">
			</div>
		</div>
    </body>
</html>